@echo off
:: 切换为utf8 65001
:: 切换为gbk 936
@REM chcp 936
:: 主文件
set main=SimpleHttpServer

set javapath=..\jdk-17.0.2.8-hotspot\bin
set javac=%javapath%\javac.exe
set java=%javapath%\java.exe

%javac% -encoding UTF-8 -d ./ %main%.java
@REM %java% %main% 8085 .
%java% %main%
::chcp 65001